﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AbetEvaluation.Master" AutoEventWireup="true"
	CodeBehind="OutcomeResult.aspx.cs" Inherits="AbetEvaluation.OutcomeResult" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<asp:GridView ID="gvResults" runat="server" AllowSorting="True" AutoGenerateColumns="False"
		CellPadding="4" DataSourceID="gvResultsDataSource" ForeColor="#333333" 
		GridLines="None" onrowdatabound="gvResults_RowDataBound" ShowFooter="True" 
		Width="700px">
		<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
		<Columns>
			<asp:BoundField DataField="ID" HeaderText="ID" Visible="False" />
			<asp:BoundField DataField="QuestionText" HeaderText="Question" >
			<HeaderStyle HorizontalAlign="Left" />
			</asp:BoundField>
			<asp:BoundField DataField="Answer" HeaderText="Answer" >
			<FooterStyle HorizontalAlign="Center" Width="60px" />
			<HeaderStyle HorizontalAlign="Center" Width="60px" />
			<ItemStyle Font-Bold="True" Font-Overline="False" ForeColor="Black" 
				HorizontalAlign="Center" Width="60px" />
			</asp:BoundField>
			<asp:BoundField DataField="Points" HeaderText="Points" >
			<FooterStyle HorizontalAlign="Center" Width="60px" />
			<HeaderStyle HorizontalAlign="Center" Width="60px" />
			<ItemStyle HorizontalAlign="Center" Width="60px" />
			</asp:BoundField>
			<asp:CommandField ShowEditButton="True" >
			<FooterStyle Width="50px" />
			<HeaderStyle Width="50px" />
			<ItemStyle Width="50px" />
			</asp:CommandField>
		</Columns>
		<EditRowStyle BackColor="#999999" />
		<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
		<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
		<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
		<SortedAscendingCellStyle BackColor="#E9E7E2" />
		<SortedAscendingHeaderStyle BackColor="#506C8C" />
		<SortedDescendingCellStyle BackColor="#FFFDF8" />
		<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
	</asp:GridView>
	<asp:ObjectDataSource ID="gvResultsDataSource" runat="server" DataObjectTypeName="AbetEvaluation.Business.TakenResult"
		SelectMethod="GetTakenResults" TypeName="AbetEvaluation.Business.TakenResults"
		UpdateMethod="UpdateAnswer">
		<SelectParameters>
			<asp:QueryStringParameter DbType="Guid" Name="takenID" QueryStringField="id" />
		</SelectParameters>
	</asp:ObjectDataSource>
	<div style="padding: 10px; height: 40px; width: 680px; background-color: #475B7E; text-align: center;">
		<asp:Label ID="lblGrade" runat="server" Font-Names="Arial" Font-Size="XX-Large" 
			ForeColor="White"></asp:Label>
	</div>
	<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/OutcomeList.aspx">Outcome List</asp:HyperLink>
	<asp:Label ID="lblDebug" runat="server"></asp:Label>
</asp:Content>
